package com.ruoyi.system.api.domain;

import java.util.Objects;

public class SysVehicles {
    private Long id;
    private String licensePlate;
    private Long status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String vehiclePlate) {
        this.licensePlate = vehiclePlate;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SysVehicles{" +
                "id=" + id +
                ", licensePlate='" + licensePlate + '\'' +
                ", status=" + status +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysVehicles that = (SysVehicles) o;
        return Objects.equals(id, that.id) && Objects.equals(licensePlate, that.licensePlate) && Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, licensePlate, status);
    }
}
